package com.phrp.dao;

import com.phrp.entity.Dictionary;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.LinkedList;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ssc
 * @since 2024-04-27
 */
@Mapper
public interface DictionaryDao extends BaseMapper<Dictionary> {

    LinkedList<Dictionary> selectByName(@Param("tableName") String tableName, @Param("fieldName") String fieldName);

    String[] getCodes(@Param("tableName") String tableName,@Param("fieldName") String fieldName);
}
